package com.mdb.open.epay.domain.po.epay;

import com.baomidou.mybatisplus.annotation.*;
import com.mdb.bc.api.data.DataObjectBase;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 类描述：
 * 快捷产品客户配置实体类
 *
 * @author liuyi
 * @date 2019-11-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("qp_cust_config")
public class QpCustConfig extends DataObjectBase {

    private static final long serialVersionUID = 1L;
    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 产品code
     */
    @ApiModelProperty(value = "产品code")
    @TableField("prod_code")
    private String prodCode;

    /**
     * 客户编号
     */
    @ApiModelProperty(value = "客户编号")
    @TableField("customer_code")
    private String customerCode;

    /**
     * 客户名称
     */
    @ApiModelProperty(value = "客户名称")
    @TableField("customer_name")
    private String customerName;

    /**
     * 核心客户号
     */
    @ApiModelProperty(value = "核心客户号")
    @TableField("core_client_no")
    private String coreClientNo;

    /**
     * 结算账户
     */
    @ApiModelProperty(value = "结算账户")
    @TableField("settle_acc_no")
    private String settleAccNo;

    /**
     * 结算账户名
     */
    @ApiModelProperty(value = "结算账户名")
    @TableField("settle_acc_name")
    private String settleAccName;

    /**
     * 可签账户类型
     */
    @ApiModelProperty(value = "可签账户类型")
    @TableField("allow_acc_type")
    private String allowAccType;

    /**
     * 可签币种
     */
    @ApiModelProperty(value = "可签币种")
    @TableField("allow_ccy")
    private String allowCcy;

    /**
     * 可签数量 单个
     */
    @ApiModelProperty(value = "可签数量 单个")
    @TableField("sign_count_max")
    private Integer signCountMax;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 操作人No
     */
    @ApiModelProperty(value = "操作人No")
    @TableField("opt_user_id")
    private String optUserId;

    /**
     * 操作人name
     */
    @ApiModelProperty(value = "操作人name")
    @TableField("opt_user_name")
    private String optUserName;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * 创建者No
     */
    @ApiModelProperty(value = "创建者No")
    @TableField(value = "create_user_id", insertStrategy = FieldStrategy.NOT_NULL)
    private String createUserId;

    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者")
    @TableField(value = "create_user_name", insertStrategy = FieldStrategy.NOT_NULL)
    private String createUserName;

}
